package com.jiuqian.demo.service.weixin;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;

/**
 *
 * @Author guoqiang
 * @Date 2017年8月18日 上午9:58:56
 * @Version 1.0
 *
 */
public interface WxChantService {
	/**
	 * 微信认证
	 * 
	 * @param request
	 * @param microId
	 * @param signature
	 * @param nonce
	 * @param timestamp
	 * @param echostr
	 * @param encryptType
	 * @param msgSignature
	 * @return
	 */
	String security(HttpServletRequest request, Integer microId, String signature, String nonce, String timestamp,
			String echostr, String encryptType, String msgSignature)  throws IOException, ServletException;

	String weixinPost(HttpServletRequest request);

}
